3.7.76 \(\int x^{-1+m} (a+b x^n)^{-1+p} (a m+b (m+n p) x^n) \, dx\)

Optimal. Leaf size=13 \[ x^m \left (a+b x^n\right )^p \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 13, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 31, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.032, Rules used = {449} \begin {gather*} x^m \left (a+b x^n\right )^p \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x^(-1 + m)*(a + b*x^n)^(-1 + p)*(a*m + b*(m + n*p)*x^n),x]

[Out]

x^m*(a + b*x^n)^p

Rule 449

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[(c*(e*x)^(m
+ 1)*(a + b*x^n)^(p + 1))/(a*e*(m + 1)), x] /; FreeQ[{a, b, c, d, e, m, n, p}, x] && NeQ[b*c - a*d, 0] && EqQ[
a*d*(m + 1) - b*c*(m + n*(p + 1) + 1), 0] && NeQ[m, -1]

Rubi steps

\begin {align*} \int x^{-1+m} \left (a+b x^n\right )^{-1+p} \left (a m+b (m+n p) x^n\right ) \, dx &=x^m \left (a+b x^n\right )^p\\ \end {align*}

________________________________________________________________________________________

Mathematica [C]  time = 0.18, size = 107, normalized size = 8.23 \begin {gather*} \frac {x^m \left (a+b x^n\right )^p \left (\frac {b x^n}{a}+1\right )^{-p} \left (b x^n (m+n p) \, _2F_1\left (\frac {m+n}{n},1-p;\frac {m}{n}+2;-\frac {b x^n}{a}\right )+a (m+n) \, _2F_1\left (\frac {m}{n},1-p;\frac {m+n}{n};-\frac {b x^n}{a}\right )\right )}{a (m+n)} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x^(-1 + m)*(a + b*x^n)^(-1 + p)*(a*m + b*(m + n*p)*x^n),x]

[Out]

(x^m*(a + b*x^n)^p*(a*(m + n)*Hypergeometric2F1[m/n, 1 - p, (m + n)/n, -((b*x^n)/a)] + b*(m + n*p)*x^n*Hyperge
ometric2F1[(m + n)/n, 1 - p, 2 + m/n, -((b*x^n)/a)]))/(a*(m + n)*(1 + (b*x^n)/a)^p)

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.10, size = 0, normalized size = 0.00 \begin {gather*} \int x^{-1+m} \left (a+b x^n\right )^{-1+p} \left (a m+b (m+n p) x^n\right ) \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[x^(-1 + m)*(a + b*x^n)^(-1 + p)*(a*m + b*(m + n*p)*x^n),x]

[Out]

Defer[IntegrateAlgebraic][x^(-1 + m)*(a + b*x^n)^(-1 + p)*(a*m + b*(m + n*p)*x^n), x]

________________________________________________________________________________________

fricas [B]  time = 0.43, size = 32, normalized size = 2.46 \begin {gather*} {\left (b x x^{m - 1} x^{n} + a x x^{m - 1}\right )} {\left (b x^{n} + a\right )}^{p - 1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)*(a+b*x^n)^(-1+p)*(a*m+b*(n*p+m)*x^n),x, algorithm="fricas")

[Out]

(b*x*x^(m - 1)*x^n + a*x*x^(m - 1))*(b*x^n + a)^(p - 1)

________________________________________________________________________________________

giac [B]  time = 0.28, size = 70, normalized size = 5.38 \begin {gather*} b x x^{n} e^{\left (p \log \left (b x^{n} + a\right ) + m \log \relax (x) - \log \left (b x^{n} + a\right ) - \log \relax (x)\right )} + a x e^{\left (p \log \left (b x^{n} + a\right ) + m \log \relax (x) - \log \left (b x^{n} + a\right ) - \log \relax (x)\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)*(a+b*x^n)^(-1+p)*(a*m+b*(n*p+m)*x^n),x, algorithm="giac")

[Out]

b*x*x^n*e^(p*log(b*x^n + a) + m*log(x) - log(b*x^n + a) - log(x)) + a*x*e^(p*log(b*x^n + a) + m*log(x) - log(b
*x^n + a) - log(x))

________________________________________________________________________________________

maple [F]  time = 0.68, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a m +\left (n p +m \right ) b \,x^{n}\right ) x^{m -1} \left (b \,x^{n}+a \right )^{p -1}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(m-1)*(b*x^n+a)^(p-1)*(a*m+b*(n*p+m)*x^n),x)

[Out]

int(x^(m-1)*(b*x^n+a)^(p-1)*(a*m+b*(n*p+m)*x^n),x)

________________________________________________________________________________________

maxima [A]  time = 0.84, size = 16, normalized size = 1.23 \begin {gather*} e^{\left (p \log \left (b x^{n} + a\right ) + m \log \relax (x)\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(-1+m)*(a+b*x^n)^(-1+p)*(a*m+b*(n*p+m)*x^n),x, algorithm="maxima")

[Out]

e^(p*log(b*x^n + a) + m*log(x))

________________________________________________________________________________________

mupad [B]  time = 4.81, size = 25, normalized size = 1.92 \begin {gather*} \left (a\,x^m+b\,x^{m+n}\right )\,{\left (a+b\,x^n\right )}^{p-1} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(m - 1)*(a*m + b*x^n*(m + n*p))*(a + b*x^n)^(p - 1),x)

[Out]

(a*x^m + b*x^(m + n))*(a + b*x^n)^(p - 1)

________________________________________________________________________________________

sympy [F(-1)]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(-1+m)*(a+b*x**n)**(-1+p)*(a*m+b*(n*p+m)*x**n),x)

[Out]

Timed out

________________________________________________________________________________________